//
//  CountryManager.h
//  ImGuider
//
//  Created by 李陆涛 on 2018/2/1.
//  Copyright © 2018年 imguider. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CountryManager : NSObject

+ (instancetype)sharedManager;

@property (nonatomic, strong) NSArray <Country *>*allcountry;// 所有的国家
@property (nonatomic, strong) NSArray <Country *>*onlinecountry;// 上架的国家城市

@property (nonatomic, strong) NSArray <RateMode *>*rateArray;// 所有国家币种
@property (nonatomic, strong) NSArray *saveRateArray;// 保存国家币种code

//--------------城市------------
- (NSArray *)getNearbyCity:(City *)city;
- (NSArray *)getCitysMatch:searchText;

//--------------国家------------

- (NSArray *)getAllCountryIdxArray;
- (NSDictionary *)getAllCountryIdxToCitiesDict;

@end
